package wqh.dao;

import wqh.domain.Device;

import java.util.List;


public interface DeviceDao {

    List<Device> findAllRecord();
    Device findAllById(Integer id);
    Device findAllByIP(String ip);
    Device findAllByNameAndIp(Device device);
    String findIpByName(String device_name);

    int insertRecord(Device device);

    int updateDateById(Device device);

    int deleteById(Integer id);

}
